package com.tiancheng.trade.commom.mq.rocket;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: likailun
 * @Description: 属性
 * @Date: create in 2024/9/20 11:18
 */
@Data
@Component
@ConfigurationProperties(prefix = "mq")
@ConditionalOnProperty(name = "mq.enabled", havingValue = "true" ,matchIfMissing = false)
public class RocketEnhanceProperties {
	private boolean enabledIsolation;
	private String environment;
}
